<?php

/**
 * Makes special div about who
 * deleted the question when and why
 * This div will be added to the question
 * template and shown to users that have
 * permission to see deleted questions
 * 
 */
class tplDeletedby extends \StudyBuddy\Template\Template
{

	protected static $vars = array(
			'username' => '', //1
			'i_uid' => '', //2
			'av' => '', //3
			'reason' => '', //4
			'hts' => '' // 5
	        );


	protected static $tpl = '
	<div class="usr_info deletedby">
            <div class="qtime">Deleted on %5$s</div>
            <div class="avtr32">
             <img src="%3$s" height="32" width="32" alt="">
            </div>
            	<div class="usr_details">By: 
            	 <a href="/users/%2$s/%1$s">%1$s</a><br>
				</div>
				<div class="reason cb fl">%4$s</div>
			</div>';
	
}